
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>header jsp</title>
</head>
<body>

<header>
    <nav>
        <div class="nav-div">
            <style>
                .nav-div {
                    display: flex;
                    flex-direction: row;
                }
            </style>
            <div style="padding: 10px;">
                <a href="#">首页</a>
            </div>
            <div style="padding: 10px;">
                <a href="#">课程</a>
            </div>
            <div style="padding: 10px;">
                <a href="#">图片</a>
            </div>
            <div style="padding: 10px;">
                <a href="#">学习中心</a>
            </div>


            <div style="padding: 10px;">
                <a href="/share_data">共享数据</a>
            </div>


            <div style="padding: 10px; float: right;;">
                <a href="login.jsp">登录</a>
            </div>

            <div style="padding: 10px; float: right;;">
                <a href="register.jsp">注册</a>
            </div>
        </div>
    </nav>
</header>

</body>
</html>
